// 帮助中心管理
import {request} from './request'

// 保存
export function SaveHelp(data){
    return request({
        url:'/api/boss/help/store',
        method:'POST',
        data
    })
}

// 更新
export function UpdateHelp(data){
    return request({
        url:`/api/boss/help/update/${data.id}`,
        method:'PUT',
        data
    })
}

//删除
export function DeleteHelp(id){
    return request({
        url:`/api/boss/help/delete/${id}`,
        method:'DELETE'
    })
}

// 显示详情
export function ShowHelp(id){
    return request({
        url:`/api/boss/help/show/${id}`,
        method:'GET'
    })
}

//列表
export function ListHelp(){
    return request({
        url:'/api/boss/help/list'
    })
}